home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / p_man / cato / Xm / SgColorChooserSetCurrentColor.z / SgColorChooserSetCurrentColor
Text File  |  1998-10-20  |  6KB  |  133 lines

  1.  
  2.  
  3.  
  4.      SSSSggggCCCCoooolllloooorrrrCCCChhhhoooooooosssseeeerrrrSSSSeeeettttCCCCuuuurrrrrrrreeeennnnttttCCCCoooollllUUUUooooNNNNrrrrIIII((((XXXX3333XXXXSSSS))))yyyySSSSssssggggttttCCCCeeeeoooommmmllllooooVVVVrrrrCCCChhhhoooooooosssseeeerrrrSSSSeeeettttCCCCuuuurrrrrrrreeeennnnttttCCCCoooolllloooorrrr((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           SSSSggggCCCCoooolllloooorrrrCCCChhhhoooooooosssseeeerrrrSSSSeeeettttCCCCuuuurrrrrrrreeeennnnttttCCCCoooolllloooorrrr - A ColorChooser function that
  10.           sets the selected color of the ColorChooser without changing
  11.           the stored color
  12.  
  13.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  14.           ####iiiinnnncccclllluuuuddddeeee <<<<SSSSggggmmmm////CCCCoooolllloooorrrrCCCC....hhhh>>>>
  15.  
  16.           vvvvooooiiiidddd SSSSggggCCCCoooolllloooorrrrCCCChhhhoooooooosssseeeerrrrSSSSeeeettttCCCCuuuurrrrrrrreeeennnnttttCCCCoooolllloooorrrr ((((_w_i_d_g_e_t, _r_e_d, _g_r_e_e_n, _b_l_u_e))))
  17.                WWWWiiiiddddggggeeeetttt      _w_i_d_g_e_t;;;;
  18.                sssshhhhoooorrrrtttt       _r_e_d;;;;
  19.                sssshhhhoooorrrrtttt       _g_r_e_e_n;;;;
  20.                sssshhhhoooorrrrtttt       _b_l_u_e;;;;
  21.  
  22.  
  23.      VVVVEEEERRRRSSSSIIIIOOOONNNN
  24.           This page documents the version of Sgm that accompanies
  25.           Motif 1.2.
  26.  
  27.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  28.           SSSSggggCCCCoooolllloooorrrrCCCChhhhoooooooosssseeeerrrrSSSSeeeettttCCCCuuuurrrrrrrreeeennnnttttCCCCoooolllloooorrrr sets the currents selected
  29.           color of the given ColorChooser widget. This means that all
  30.           the components of the ColorChooser, the color hexagon, color
  31.           sliders, color swatches, and color value text widgets will
  32.           all reflect the new color. The given color must be in RGB
  33.           color space.
  34.  
  35.           The difference between SgColorChooserSetCurrentColor and
  36.           SgColorChooserSetColor is that SgColorChooserSetCurrentColor
  37.           does not alter the value of the Stored Color color swatch.
  38.  
  39.  
  40.           _w_i_d_g_e_t Specifies the ColorChooser widget ID.
  41.  
  42.           _r_e_d    Specifies the red color component in an RGB color
  43.                  space.
  44.  
  45.           _g_r_e_e_n  Specifies the green color component in an RGB color
  46.                  space.
  47.  
  48.           _b_l_u_e   Specifies the blue color component in an RGB color
  49.                  space.
  50.  
  51.  
  52.           The color components range from 0 (no intensity) to 255
  53.           (maximum intensity).  This is the same range used by Iris GL
  54.           (RRRRGGGGBBBBCCCCoooolllloooorrrr((((3333GGGG))))).
  55.  
  56.           For a complete definition of ColorChooser widget and its
  57.           associated resources, see SSSSggggCCCCoooolllloooorrrrCCCChhhhoooooooosssseeeerrrr((((3333XXXX)))).
  58.  
  59.      RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
  60.  
  61.  
  62.  
  63.      PPPPaaaaggggeeee 1111                                          ((((pppprrrriiiinnnntttteeeedddd 4444////33330000////99998888))))
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      SSSSggggCCCCoooolllloooorrrrCCCChhhhoooooooosssseeeerrrrSSSSeeeettttCCCCuuuurrrrrrrreeeennnnttttCCCCoooollllUUUUooooNNNNrrrrIIII((((XXXX3333XXXXSSSS))))yyyySSSSssssggggttttCCCCeeeeoooommmmllllooooVVVVrrrrCCCChhhhoooooooosssseeeerrrrSSSSeeeettttCCCCuuuurrrrrrrreeeennnnttttCCCCoooolllloooorrrr((((3333XXXX))))
  71.  
  72.  
  73.  
  74.           SSSSggggCCCCoooolllloooorrrrCCCChhhhoooooooosssseeeerrrr((((3333XXXX)))).  SSSSggggCCCCrrrreeeeaaaatttteeeeCCCCoooolllloooorrrrCCCChhhhoooooooosssseeeerrrr((((3333XXXX)))),
  75.           SSSSggggCCCCrrrreeeeaaaatttteeeeCCCCoooolllloooorrrrCCCChhhhoooooooosssseeeerrrrDDDDiiiiaaaalllloooogggg((((3333XXXX)))), SSSSggggCCCCoooolllloooorrrrCCCChhhhoooooooosssseeeerrrrSSSSeeeettttCCCCoooolllloooorrrr((((3333XXXX)))),
  76.           SSSSggggCCCCoooolllloooorrrrCCCChhhhoooooooosssseeeerrrrGGGGeeeettttCCCCoooolllloooorrrr((((3333XXXX)))),
  77.           SSSSggggCCCCoooolllloooorrrrCCCChhhhoooooooosssseeeerrrrSSSSeeeettttSSSSttttoooorrrreeeeddddCCCCoooolllloooorrrr((((3333XXXX)))), and RRRRGGGGBBBBCCCCoooolllloooorrrr((((3333GGGG)))).
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                          (printed 4/30/98)
  130.  
  131.  
  132.  
  133.